from random import randint
'''
num=int(input())
while num== 56:
    if num>56:
        print("大了")
    else:
        print("小了")

for i in range(1,10,2):
    print(i,end=" ")

打印100以内能被3整除的数字
for i in range(1,100+1):
    if i%3==0:
        print(i,end=" ")



num=randint(1,100)
while True:
    guess=int(input())
    if guess<num:
        print("小了")
    elif guess>num:
        print("大了")
    else:
        print("猜到了")
        break

for i in range(1,100+1):
    #if i%7==0 or str(i).find('7') !=-1:
    #if i%7==0 or str(i).count('7')>0:
    if i%7==0 or '7'in str(i) !=False:
        print(i,end=" ")



for i in range(100,1000):
    a=i//100
    b=i//10%10
    c=i%10
    if a**3+b**3+c**3==i:
        print(i)
'''




